package com.tgy.MyFlowable.workflow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctsi.core.database.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流程表单配置表
 *
 * @version 1.0
 * @author: wang xiao xiang
 * @date: 2021/8/6 15:15
 */
@Data
@TableName("mars_flw_form")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "流程表单配置表对象", description = "对象")
public class FlwForm extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 表单id
     */
    @ApiModelProperty(value = "表单id")
    private Long formId;

    /**
     * 流程定义id
     */
    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    /**
     * 活动节点id
     */
    @ApiModelProperty(value = "活动节点id")
    private String actId;

    /**
     * 活动节点名称
     */
    @ApiModelProperty(value = "活动节点名称")
    private String actName;

    /**
     * 表单节点类型（字典 1全局 2节点）
     */
    @ApiModelProperty(value = "表单节点类型（字典 1全局 2节点）")
    private Integer nodeType;
}
